boots algorithm multiplication example